package com.example.demo.Dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.bean.customer;
import com.example.demo.bean.shop;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface shopdao extends BaseMapper<shop> {

    @Select("select * from shop")
    List<shop> ShowAllshop();

    @Select("select count(*) from shop")
    int Totalshop();
}
